Skip to content

Improve error handling, config safety, and installer reliability#23

Merged
glebovdev merged 1 commit intomasterfrom
fix/error-handling-and-installer
Feb 21, 2026
Merged

Improve error handling, config safety, and installer reliability#23
glebovdev merged 1 commit intomasterfrom
fix/error-handling-and-installer

Conversation

@glebovdev
Copy link
Owner

  • Use typed httpStatusError instead of string matching for non-retryable HTTP errors
  • Add mutex to Config.Save() to prevent concurrent write races
  • Cap ICY metadata length at 4080 bytes to reject malformed streams
  • Harden install.sh: error output to stderr, subshell exit propagation, curl --fail, signal trapping, INSTALL_DIR auto-creation, libasound2 hint on Linux
  • Include chore commits in release changelog
  • Fix lint warning in player tests

- Use typed httpStatusError instead of string matching for non-retryable HTTP errors
- Add mutex to Config.Save() to prevent concurrent write races
- Cap ICY metadata length at 4080 bytes to reject malformed streams
- Harden install.sh: error() to stderr, subshell exit propagation, curl --fail,
  signal trapping, INSTALL_DIR auto-creation, libasound2 hint on Linux
- Include chore commits in release changelog
- Fix lint warning in player tests
@glebovdev glebovdev self-assigned this Feb 21, 2026
@glebovdev glebovdev merged commit 4aa6170 into master Feb 21, 2026
4 checks passed
@glebovdev glebovdev deleted the fix/error-handling-and-installer branch February 21, 2026 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant